<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
            width:500px;
            height:500px;
            border:10px red double;
            padding:10px;
            background-image: url("../picture/05/3.jpg");
            background-color: #bfa;
            background-repeat: no-repeat;
            background-position: center center;
            background-position: 100px 300px;
            /* 设置背景范围 */
            background-clip:content-box;
            background-origin:padding-box;
            /* background-size: ;
             */
            overflow: auto;
        }
        .box2{
            width:300px;
            height:1000px;
            background-image: url(../picture/05/4.jpg);
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
    <div class="box1">
        <!-- <div style="height:1000px;"></div> -->
        <div class="box2"></div>
    </div>
</body>
</html>